package com.study.service.impl;

import com.study.dao.AppCategoryDao;
import com.study.entity.AppCategory;
import com.study.service.IAppCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppCategoryServiceImpl implements IAppCategoryService {
    @Autowired
    private AppCategoryDao appCategoryDao;

    @Override
    public AppCategory findOneById(Integer id) {
        return appCategoryDao.findOneById(id);
    }

    @Override
    public List<AppCategory> findList(AppCategory appCategory) {
        return null;
    }

    @Override
    public int updateOne(AppCategory appCategory) {
        return 0;
    }

    @Override
    public int saveOne(AppCategory appCategory) {
        return 0;
    }

    @Override
    public int deleteById(Integer id) {
        return 0;
    }

    @Override
    public List<AppCategory> findListByPid(Integer pid) {
        return appCategoryDao.findListByPid(pid);
    }
}
